package com.aigou.admin.aigouspringboot.service;

import com.aigou.admin.aigouspringboot.entity.ShopCartProduct;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ShopCartProductService {
    List<ShopCartProduct> selectAll();

    PageInfo<ShopCartProduct> selectShopCartProductListByPage(Integer current);

    int deleteById(String id);

    ShopCartProduct selectById(String id);


    int edit(ShopCartProduct shopCartProduct);

    int save(ShopCartProduct shopCartProduct);

    List<ShopCartProduct> selectByUserID(String userId);

    int updateProductNum(String id, Integer productNum);

    int deleteByIds(List<String> ids);


}
